package com.oba.fusioncharts.data;

import java.util.ArrayList;
import java.util.List;

/**
 * <dataset seriesName='Offline Marketing' color='1D8BD1'
 * anchorBorderColor='1D8BD1' anchorBgColor='1D8BD1'>
 * 
 * <dataset seriesName='Search' color='F1683C' anchorBorderColor='F1683C'
 * anchorBgColor='F1683C'>
 * 
 * <dataset seriesName='Paid Search' color='2AD62A' anchorBorderColor='2AD62A'
 * anchorBgColor='2AD62A'>
 * 
 * <dataset seriesName='From Mail' color='DBDC25' anchorBorderColor='DBDC25'
 * anchorBgColor='DBDC25'>
 * 
 * @author han
 * 
 */
public class LineDataSet {

	private String seriesName;
	private String color;
	private String anchorBorderColor;
	private String anchorBgColor;
	private List<String> valueSet = new ArrayList<String>();

	public LineDataSet(String seriesName, String color, String anchorBorderColor,
			String anchorBgColor) {
		super();
		this.seriesName = seriesName;
		this.color = color;
		this.anchorBorderColor = anchorBorderColor;
		this.anchorBgColor = anchorBgColor;
	}

	public void addValue(String value) {
		valueSet.add(value);
	}
	
	public List<String> getValueSet() {
		return valueSet;
	}

	public String getSeriesName() {
		return seriesName;
	}

	public void setSeriesName(String seriesName) {
		this.seriesName = seriesName;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getAnchorBorderColor() {
		return anchorBorderColor;
	}

	public void setAnchorBorderColor(String anchorBorderColor) {
		this.anchorBorderColor = anchorBorderColor;
	}

	public String getAnchorBgColor() {
		return anchorBgColor;
	}

	public void setAnchorBgColor(String anchorBgColor) {
		this.anchorBgColor = anchorBgColor;
	}
}
